package com.nisco.springboot;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Value;

@Service
public class HelloServiceImpl implements IHelloService
{
    @Value("${dubbo.application.name}")
    private String serviceName;
    public String sayHello(String name)
    {
        return String.format("[%s]:Hello,%s", serviceName, name);
    }
}
